import { Meta, Story, Preview } from '@storybook/addon-docs/blocks';
import { linkTo } from '@storybook/addon-links';
import { Welcome } from '@storybook/react/demo';

<Meta title="Welcome" component={Welcome} />

# Welcome

This is a test document written in MDX that defines a `Welcome` story wrapped in a `Preview` doc block:

<Preview withToolbar>
  <Story name="to Storybook">
    <Welcome showApp={linkTo('Button')} />
  </Story>
</Preview>
